package com.ruoyi.industry.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.utils.DateUtils;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 项目-拍卖对象 project_auction
 *
 * @author MagicCube
 * @date 2023-05-18
 */
public class ProjectAuction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 标地名称 */
    @Excel(name = "标地名称")
    private String auctionName;

    /** 拍卖类型 */
    @Excel(name = "拍卖类型")
    private String auctionType;

    /** 区域 */
//    @Excel(name = "区域")
    private String auctionArea;

    /** 标的所在地 */
    @Excel(name = "标的所在地")
    private String auctionAddress;

    /** 资产类型 */
    @Excel(name = "资产类型")
    private String auctionAssets;

    /** 建筑总面积*/
    @Excel(name = "建筑总面积")
    private String allSize;

    /** 拍卖状态 */
    @Excel(name = "拍卖状态")
    private String auctionState;

    /** 拍卖阶段 */
    @Excel(name = "拍卖阶段")
    private String auctionStage;

    /** 上拍时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上拍时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auctionTime;

    /** 价格区间 */
//    @Excel(name = "价格区间")
    private String auctionPrice;
    /**
     * 价格下限
     */
    @Excel(name = "起拍价格", suffix = "元")
    private Long auctionPriceLower;

    /** 价格上限*/
    @Excel(name = "保证金", suffix = "元")
    private Long auctionPriceUpper;

    /** 园区ID */
//    @Excel(name = "园区ID")
    private Long parkId;
    /** 关联园区 */
//    @Excel(name = "关联园区")
    private String parkName;

    /** 省份id */
    @Excel(name = "省份id")
    private Long provinceId;

    /** 所属城市ID */
    @Excel(name = "所属城市ID")
    private Long cityId;

    private List<Long> cityIds;
    /** 区域id */
    @Excel(name = "区域id")
    private Long areaId;

    /** 所属城市 */
    @Excel(name = "所属城市",type = Excel.Type.EXPORT)
    private String cityName;

    /** 发布类型0供给1需求 */
    @Excel(name = "发布类型(供给/需求)",readConverterExp = "(0=供给,1=需求)")
    private Long releaseType;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Long pageView;

    /** 是否收藏0否1是 */
    @Excel(name = "是否收藏(否/是)",readConverterExp = "0=否,1=是")
    private Long collectState;

    /** 是否明星推荐0否1是 */
    @Excel(name = "是否热门推荐(否/是)",readConverterExp = "0=否,1=是")
    private Long recState;

    /** 预定状态0未预定1已预定 */
    @Excel(name = "预定状态(未预定/已预定)")
    private Long reserveState;

    /** VR资源["http:vr1""http:vr2"] */
    @Excel(name = "VR资源")
    private String vrResource;

    /** 园区推荐状态0否1是 */
    @Excel(name = "园区推荐状态(否/是)",readConverterExp = "0=否,1=是")
    private Long recomState;

    /** 图片资源["http:p1""http:p2"] */
    @Excel(name = "图片资源")
    private String imgResource;

    /** 封面资源http:p1 */
    @Excel(name = "封面资源")
    private String coverResource;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactName;

    /** 联系方式 */
//    @Excel(name = "联系方式")
    private String servicePhone;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contactPhone;

    /** 发布人用户ID */
    @Excel(name = "发布人用户ID")
    private Long supplyUserId;

    /** 审核状态：0待审核1审核通过2审核失败 */
    @Excel(name = "审核状态(待初审/初审退回/待复审/复审退回/审核通过)", readConverterExp = "0=待初审,1=审核通过,2=初审退回,3=待复审,4=复审退回")
    private Long approvalState;

    /** 审核备注 */
    @Excel(name = "初审备注")
    private String approvalNote;

    /** 复审备注 */
    @Excel(name = "复审备注")
    private String recheckNote;
    /** 备注 */
    @Excel(name = "备注")
    private String note;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 状态0有效1失效 */
//    @Excel(name = "状态0有效1失效")
    private Long state;

    /** 是否删除0否1是 */
//    @Excel(name = "是否删除0否1是")
    private Long dr;

    /** VR封面 */
    @Excel(name = "VR封面")
    private String vrcover;

    /** 是否置顶0：否1：是 */
    @Excel(name = "是否置顶(否/是)",readConverterExp = "0=否,1=是")
    private Long top;

    /** 园区产业集群 */
    @Excel(name = "园区产业集群")
    private String parkIndustry;

    /** 编号 */
    private String serialNumber;

    /** 微信二维码*/
    @Excel(name = "二维码")
    private String qrCode;

    public static ProjectAuction getAuction() {
        ProjectAuction projectAuction = new ProjectAuction();
        projectAuction.setAuctionName ("拍卖名称");
        projectAuction.setAuctionType ("楼宇");
        projectAuction.setAuctionAddress ("");
        projectAuction.setAuctionAssets ("");
        projectAuction.setAllSize ("");
        projectAuction.setAuctionState ("");
        projectAuction.setAuctionStage ("");
        projectAuction.setAuctionTime (DateUtils.getNowDate());
        projectAuction.setAuctionPriceLower (10000L);
        projectAuction.setAuctionPriceUpper (10000L);
        projectAuction.setCityId (428L);
        projectAuction.setProvinceId (34L);
        projectAuction.setReleaseType (0L);
        projectAuction.setPageView (10L);
        projectAuction.setCollectState (0L);
        projectAuction.setRecState (0L);
        projectAuction.setReserveState (0L);
        projectAuction.setVrResource ("http://oss.xunxinsoft.com/img/yi-space-deafult.png");
        projectAuction.setRecomState (0L);
        projectAuction.setImgResource ("http://oss.xunxinsoft.com/img/yi-space-deafult.png");
        projectAuction.setCoverResource ("http://oss.xunxinsoft.com/img/yi-space-deafult.png");
        projectAuction.setContactName ("张三");
        projectAuction.setContactPhone ("13100131000");
        projectAuction.setSupplyUserId (1L);
        projectAuction.setApprovalState (1L);
        projectAuction.setApprovalNote ("<p><br></p>");
        projectAuction.setRecheckNote ("<p><br></p>");
//        projectAuction.note (note);
        projectAuction.setSort (0L);
        projectAuction.setTop (0L);
        return projectAuction;
    }

    public String getRecheckNote() {
        return recheckNote;
    }

    public void setRecheckNote(String recheckNote) {
        this.recheckNote = recheckNote;
    }

    public String getAllSize() {
        return allSize;
    }

    public void setAllSize(String allSize) {
        this.allSize = allSize;
    }

    public String getQrCode() {
        return qrCode;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode;
    }
    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAuctionName(String auctionName)
    {
        this.auctionName = auctionName;
    }

    public String getAuctionName()
    {
        return auctionName;
    }
    public void setAuctionType(String auctionType)
    {
        this.auctionType = auctionType;
    }

    public String getAuctionType()
    {
        return auctionType;
    }
    public void setAuctionArea(String auctionArea)
    {
        this.auctionArea = auctionArea;
    }

    public String getAuctionArea()
    {
        return auctionArea;
    }
    public void setAuctionAddress(String auctionAddress)
    {
        this.auctionAddress = auctionAddress;
    }

    public String getAuctionAddress()
    {
        return auctionAddress;
    }
    public void setAuctionAssets(String auctionAssets)
    {
        this.auctionAssets = auctionAssets;
    }

    public String getAuctionAssets()
    {
        return auctionAssets;
    }
    public void setAuctionState(String auctionState)
    {
        this.auctionState = auctionState;
    }

    public String getAuctionState()
    {
        return auctionState;
    }
    public void setAuctionStage(String auctionStage)
    {
        this.auctionStage = auctionStage;
    }

    public String getAuctionStage()
    {
        return auctionStage;
    }
    public void setAuctionTime(Date auctionTime)
    {
        this.auctionTime = auctionTime;
    }

    public Date getAuctionTime()
    {
        return auctionTime;
    }
    public void setAuctionPrice(String auctionPrice)
    {
        this.auctionPrice = auctionPrice;
    }

    public String getAuctionPrice()
    {
        return auctionPrice;
    }
    public void setParkId(Long parkId)
    {
        this.parkId = parkId;
    }

    public Long getAuctionPriceLower() {
        return auctionPriceLower;
    }

    public void setAuctionPriceLower(Long auctionPriceLower) {
        this.auctionPriceLower = auctionPriceLower;
    }

    public Long getAuctionPriceUpper() {
        return auctionPriceUpper;
    }

    public void setAuctionPriceUpper(Long auctionPriceUpper) {
        this.auctionPriceUpper = auctionPriceUpper;
    }

    public Long getParkId()
    {
        return parkId;
    }
    public void setCityId(Long cityId)
    {
        this.cityId = cityId;
    }

    public Long getCityId()
    {
        return cityId;
    }
    public void setReleaseType(Long releaseType)
    {
        this.releaseType = releaseType;
    }

    public Long getReleaseType()
    {
        return releaseType;
    }
    public void setPageView(Long pageView)
    {
        this.pageView = pageView;
    }

    public Long getPageView()
    {
        return pageView;
    }
    public void setCollectState(Long collectState)
    {
        this.collectState = collectState;
    }

    public Long getCollectState()
    {
        return collectState;
    }
    public void setRecState(Long recState)
    {
        this.recState = recState;
    }

    public Long getRecState()
    {
        return recState;
    }
    public void setReserveState(Long reserveState)
    {
        this.reserveState = reserveState;
    }

    public Long getReserveState()
    {
        return reserveState;
    }
    public void setVrResource(String vrResource)
    {
        this.vrResource = vrResource;
    }

    public String getVrResource()
    {
        return vrResource;
    }
    public void setRecomState(Long recomState)
    {
        this.recomState = recomState;
    }

    public Long getRecomState()
    {
        return recomState;
    }
    public void setImgResource(String imgResource)
    {
        this.imgResource = imgResource;
    }

    public String getImgResource()
    {
        return imgResource;
    }
    public void setCoverResource(String coverResource)
    {
        this.coverResource = coverResource;
    }

    public String getCoverResource()
    {
        return coverResource;
    }
    public void setContactName(String contactName)
    {
        this.contactName = contactName;
    }

    public String getContactName()
    {
        return contactName;
    }
    public void setServicePhone(String servicePhone)
    {
        this.servicePhone = servicePhone;
    }

    public String getServicePhone()
    {
        return servicePhone;
    }
    public void setContactPhone(String contactPhone)
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone()
    {
        return contactPhone;
    }
    public void setSupplyUserId(Long supplyUserId)
    {
        this.supplyUserId = supplyUserId;
    }

    public Long getSupplyUserId()
    {
        return supplyUserId;
    }
    public void setApprovalState(Long approvalState)
    {
        this.approvalState = approvalState;
    }

    public Long getApprovalState()
    {
        return approvalState;
    }
    public void setApprovalNote(String approvalNote)
    {
        this.approvalNote = approvalNote;
    }

    public String getApprovalNote()
    {
        return approvalNote;
    }
    public void setNote(String note)
    {
        this.note = note;
    }

    public String getNote()
    {
        return note;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setState(Long state)
    {
        this.state = state;
    }

    public Long getState()
    {
        return state;
    }
    public void setDr(Long dr)
    {
        this.dr = dr;
    }

    public Long getDr()
    {
        return dr;
    }
    public void setVrcover(String vrcover)
    {
        this.vrcover = vrcover;
    }

    public String getVrcover()
    {
        return vrcover;
    }
    public void setTop(Long top)
    {
        this.top = top;
    }

    public Long getTop()
    {
        return top;
    }

    public String getParkName() {
        return parkName;
    }

    public void setParkName(String parkName) {
        this.parkName = parkName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getParkIndustry() {
        return parkIndustry;
    }

    public void setParkIndustry(String parkIndustry) {
        this.parkIndustry = parkIndustry;
    }

    public Long getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Long provinceId) {
        this.provinceId = provinceId;
    }

    public List<Long> getCityIds() {
        return cityIds;
    }

    public void setCityIds(List<Long> cityIds) {
        this.cityIds = cityIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("auctionName", getAuctionName())
            .append("auctionType", getAuctionType())
            .append("auctionArea", getAuctionArea())
            .append("auctionAddress", getAuctionAddress())
            .append("auctionAssets", getAuctionAssets())
            .append("auctionState", getAuctionState())
            .append("auctionStage", getAuctionStage())
            .append("auctionTime", getAuctionTime())
            .append("auctionPrice", getAuctionPrice())
            .append("parkId", getParkId())
            .append("cityId", getCityId())
            .append("releaseType", getReleaseType())
            .append("pageView", getPageView())
            .append("collectState", getCollectState())
            .append("recState", getRecState())
            .append("reserveState", getReserveState())
            .append("vrResource", getVrResource())
            .append("recomState", getRecomState())
            .append("imgResource", getImgResource())
            .append("coverResource", getCoverResource())
            .append("contactName", getContactName())
            .append("servicePhone", getServicePhone())
            .append("contactPhone", getContactPhone())
            .append("supplyUserId", getSupplyUserId())
            .append("approvalState", getApprovalState())
            .append("approvalNote", getApprovalNote())
            .append("note", getNote())
            .append("sort", getSort())
            .append("state", getState())
            .append("dr", getDr())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("vrcover", getVrcover())
            .append("top", getTop())
            .toString();
    }
}
